const logFn = function() {
    let arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
    let newArr = arr.filter((item) => {
        return item > 5
    })
    let sum = newArr.reduce((cur, pre) => {
        return cur + pre
    }, 0)
    console.log(sum);
    console.log('林晓成');
}
export default logFn